package com.slz3.business.module.configManagement.conCircle.service;

import com.slz3.business.module.configManagement.conCircle.domain.ConCircle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConCircleService {

    ConCircle save(ConCircle conCircle);

    Page<ConCircle> page(MultiValueMap<String,String> queryParams);

    ConCircle modify(ConCircle conCircle);

    Optional<ConCircle> single(UUID uuid);

    List<ConCircle> findAllByUuids(Iterable<UUID> uuids);

    List<ConCircle> delete(List<ConCircle> conCircleList);
}
